package com.example.invoicing.pojo;

public class Supplier {
    private String id;

    private String supplierNo;

    private String agentName;

    private String gender;

    private String phone;

    private String email;

    private String certificateName;

    private String certificatePhoto;

    private String certificateNumber;

    private String issuanceTime;

    private String validPeriod;

    private String createTime;

    private String updateTime;

    private PageResult pageResult;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public String getSupplierNo() {
        return supplierNo;
    }

    public void setSupplierNo(String supplierNo) {
        this.supplierNo = supplierNo == null ? null : supplierNo.trim();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName == null ? null : certificateName.trim();
    }

    public String getCertificatePhoto() {
        return certificatePhoto;
    }

    public void setCertificatePhoto(String certificatePhoto) {
        this.certificatePhoto = certificatePhoto == null ? null : certificatePhoto.trim();
    }

    public String getCertificateNumber() {
        return certificateNumber;
    }

    public void setCertificateNumber(String certificateNumber) {
        this.certificateNumber = certificateNumber == null ? null : certificateNumber.trim();
    }

    public String getIssuanceTime() {
        return issuanceTime;
    }

    public void setIssuanceTime(String issuanceTime) {
        this.issuanceTime = issuanceTime == null ? null : issuanceTime.trim();
    }

    public String getValidPeriod() {
        return validPeriod;
    }

    public void setValidPeriod(String validPeriod) {
        this.validPeriod = validPeriod == null ? null : validPeriod.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public PageResult getPageResult() {
        return this.pageResult;
    }

    public void setPageResult(final PageResult pageResult) {
        this.pageResult = pageResult;
    }

    @Override
    public String toString() {
        return "Supplier{" +
                "id='" + id + '\'' +
                "supplierNo='" + supplierNo + '\'' +
                ", agentName='" + agentName + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", certificateName='" + certificateName + '\'' +
                ", certificatePhoto='" + certificatePhoto + '\'' +
                ", certificateNumber='" + certificateNumber + '\'' +
                ", issuanceTime='" + issuanceTime + '\'' +
                ", validPeriod='" + validPeriod + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", pageResult=" + pageResult +
                '}';
    }
}